
package net.swa.dewei.beans.vo;

/**
 * 订单状态分组和当前最大id
 * @author dawei
 *
 */
public class GroupAndMaxId
{
    //附近门店
    private VoMaxIdStateCount nearChange;

    //人工上门
    private VoMaxIdStateCount manuChange;

    //当前最大id
    private Long currentMaxId;

    private boolean success;

    private String message;

    private String errorCode;

    public Long getCurrentMaxId()
    {
        return currentMaxId;
    }

    public void setCurrentMaxId(Long currentMaxId)
    {
        this.currentMaxId = currentMaxId;
    }

    public VoMaxIdStateCount getNearChange()
    {
        return nearChange;
    }

    public void setNearChange(VoMaxIdStateCount nearChange)
    {
        this.nearChange = nearChange;
    }

    public VoMaxIdStateCount getManuChange()
    {
        return manuChange;
    }

    public void setManuChange(VoMaxIdStateCount manuChange)
    {
        this.manuChange = manuChange;
    }

    public boolean isSuccess()
    {
        return success;
    }

    public void setSuccess(boolean success)
    {
        this.success = success;
    }

    public String getMessage()
    {
        return message;
    }

    public void setMessage(String message)
    {
        this.message = message;
    }

    public String getErrorCode()
    {
        return errorCode;
    }

    public void setErrorCode(String errorCode)
    {
        this.errorCode = errorCode;
    }
    
    public void setAuthError(){
        this.errorCode="1";
        this.success=false;
        this.message="token校验失败";
    }
}
